﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminLayout.master" AutoEventWireup="true" CodeFile="AdminProductIphoneUpdate.aspx.cs" Inherits="Admin_AdminProductIphoneUpdate" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 70%;
        }
        .style2
        {
            width: 97px;
        }
        .style3
        {
            width: 192px;
        }
        .style4
        {
            width: 70%;
        }
        .style6
        {
            width: 25%;
        }
        .style8
        {
            width: 49%;
        }
        .style9
        {
            width: 169px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <form id="form1" runat="server" enctype="multipart/form-data">
    <h2>
        Admin Iphone Manager</h2>
    <h2>
        Update Iphone</h2>
    <p>
        &nbsp;</p>
    <p>
        <asp:Label ID="lblStatus" runat="server" ForeColor="Red"></asp:Label>
    </p>
    <table class="style1">
        <tr>
            <td class="style2">
                ID</td>
            <td class="style3">
                <asp:TextBox ID="txtIphoneID" runat="server" Enabled="False" Width="175px"></asp:TextBox>
            </td>
            <td rowspan="4">
                <asp:Image ID="Image1" runat="server" Height="150px" Width="200px" />
            </td>
        </tr>
        <tr>
            <td class="style2">
&nbsp;Name</td>
            <td class="style3">
                <asp:TextBox ID="txtIphoneName" runat="server" Width="175px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style2">
                Type Name</td>
            <td class="style3">
                <asp:TextBox ID="txtIphoneType" runat="server" Enabled="False" Width="175px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style2">
                Price</td>
            <td class="style3">
                <asp:TextBox ID="txtIphonePrice" runat="server" Width="175px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td class="style3">
                <asp:FileUpload ID="fileUploadIphone" runat="server" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td class="style3">
                <asp:Button ID="btnUpdate" runat="server" onclick="btnUpdate_Click" 
                    Text="Update" ValidationGroup="updateProduct" />
                <asp:Button ID="btnDelete" runat="server" onclick="btnDelete_Click" 
                    Text="Delete" ValidationGroup="DeleteProducts" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    <p>
        &nbsp;</p>
    <h2>
        Update Iphone Details</h2>
    <p>
        &nbsp;</p>
    <table class="style4">
        <tr>
            <td align="left" colspan="2">
                <asp:DropDownList ID="dropDownIphoneDetails" runat="server" 
                    onselectedindexchanged="dropDownIphoneDetails_SelectedIndexChanged" 
                    Width="380px">
                </asp:DropDownList>
            </td>
            <td align="left" class="style8">
                <asp:Button ID="btnSelectIphoneDetails" runat="server" 
                    onclick="btnSelectIphoneDetails_Click" Text="Select" />
                <asp:Button ID="btnUpdateIphoneDetails" runat="server" 
                    onclick="btnUpdateIphoneDetails_Click" Text="Update" Enabled="False" 
                    ValidationGroup="updateDetails" />
            </td>
        </tr>
        <tr>
            <td class="style6">
                Details No</td>
            <td class="style9">
                <asp:TextBox ID="txtIphoneDetailsNo" runat="server" Width="170px" 
                    Enabled="False"></asp:TextBox>
            </td>
            <td class="style8">
                <asp:Button ID="btnDeleteDetails" runat="server" Enabled="False" 
                    onclick="btnDeleteDetails_Click" Text="Delete" 
                    ValidationGroup="DeleteDetails" />
            </td>
        </tr>
        <tr>
            <td class="style6">
                Details ID</td>
            <td class="style9">
                <asp:TextBox ID="txtIphoneDetailsID" runat="server" Width="170px" 
                    Enabled="False"></asp:TextBox>
            </td>
            <td class="style8">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style6">
                Details Text</td>
            <td class="style9">
                <asp:TextBox ID="txtIphoneDetailsText" runat="server" Width="170px"></asp:TextBox>
            </td>
            <td class="style8">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style6">
                &nbsp;</td>
            <td class="style9">
                <asp:FileUpload ID="fileUploadIphoneDetails" runat="server" />
            </td>
            <td class="style8">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style6">
                &nbsp;</td>
            <td class="style9" rowspan="4">
                <asp:Image ID="Image2" runat="server" Height="250px" Width="300px" />
            </td>
            <td class="style8">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style6">
                &nbsp;</td>
            <td class="style8">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style6">
                &nbsp;</td>
            <td class="style8">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style6">
                &nbsp;</td>
            <td class="style8">
                &nbsp;</td>
        </tr>
    </table>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    </form>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>

